<?php

/* username design */
function get_user_class_color($class, $username) {
  global $tracker_lang;
  switch ($class) {
    case UC_SYSOP:
      return '<span class="sysop" title="'.$tracker_lang['class_sysop'].'">' . $username . '</span>';
    case UC_ADMINISTRATOR:
      return '<span class="administrator" title="'.$tracker_lang['class_administrator'].'">' . $username . '</span>';
    case UC_MODERATOR:
      return '<span class="moderator" title="'.$tracker_lang['class_moderator'].'">' . $username . '</span>';
    case UC_REDAKTOR:
      return '<span class="redaktor" title="'.$tracker_lang['class_redaktor'].'">' . $username . '</span>';
    case UC_VIP:
      return '<span class="vip" title="'.$tracker_lang['class_vip'].'">' . $username . '</span>';
	case UC_SILVER:
      return '<span class="silver"  title="'.$tracker_lang['class_silver'].'">' . $username . '</span>';
	case UC_SUPLOADER:
      return '<span class="suploader" title="'.$tracker_lang['class_suploader'].'">' . $username . '</span>';
    case UC_UPLOADER:
      return '<span class="uploader" title="'.$tracker_lang['class_uploader'].'">' . $username . '</span>';
    case UC_SUSER:
      return '<span class="suser" title="'.$tracker_lang['class_suser'].'">' . $username . '</span>';
    case UC_POWER_USER:
      return '<span class="power_user" title="'.$tracker_lang['class_power_user'].'">' . $username . '</span>';
    case UC_USER:
      return '<span class="user" title="'.$tracker_lang['class_user'].'">' . $username . '</span>';
    case UC_LEECHER:
      return '<span class="leecher" title="'.$tracker_lang['class_leecher'].'">' . $username . '</span>';
  }
  return $username;
}


?>